//
//  ChoosePhotoView.h
//  WeCommunity
//
//  Created by mac on 2017/6/19.
//  Copyright © 2017年 lzy. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PhotoAlbumModel.h"

@protocol ChoosePhotoDelegate <NSObject>

-(void)choosePhotoAlbum:(PhotoAlbumModel *)albumModel sender:(UIButton *)sender;
-(void)preViewPhotoAlbum:(PhotoAlbumModel *)albumModel;

@end

@interface ChoosePhotoView : UIView

@property (nonatomic,strong) PhotoAlbumModel * photoAlbumModel;

@property (nonatomic,strong) PhotoAlbumModel * preViewPhotoAlbumModel;

@property (nonatomic,strong) UIImageView * contentImageView;
@property (nonatomic,strong) UIButton * chooseBtn;
@property (nonatomic,strong) UIView * coverView;

@property (nonatomic,assign) id<ChoosePhotoDelegate> delegate;

-(instancetype)initWithFrame:(CGRect)frame;

@end
